package algo.Common;

import java.util.Vector;

public class Instructor {

	/**
	 * @param args
	 */
	int	_id;
	String	_name;
	
	Vector<DaySlot> _busy;
	
	public Instructor(int id, String name){
		_id = id;
		_name = name;
		_busy = new Vector<DaySlot>();
	}
	
	public String getName(){return _name;}
	public int getID(){ return _id;}
	public void setBusy(Vector<DaySlot> busy){ _busy = busy;}
	public Vector<DaySlot> getBusy(){ return _busy;}
	public void print(){
		System.out.print("Instructor id = " + getID() + " name = " + getName() + " busy list = ");
		for(int i = 0; i < _busy.size(); i++){
			DaySlot ds = _busy.elementAt(i);
			System.out.print("(" + ds.getDay() + "," + ds.getSlot() + ") ");
		}
		System.out.println("");
	}
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
